home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPageMargins.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  698b  |  26 lines

  1. /*
  2.  *--- PGetPageMargins.cpp -------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPageMargins.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PQuery.h"
  12. #include "PGetPageMargins.h"
  13.  
  14. PGetPageMargins::PGetPageMargins()
  15. {
  16.     char temp[16];        // four longs
  17.     
  18.     PQuery query(pm_getpagemargins, temp, 16);
  19.  
  20.     PReplyBuf reply(temp);
  21.     
  22.     reply >> xLeft >> yTop >> xRight >> yBottom;
  23. }
  24.  
  25. // end of PGetPageMargins.cpp
  26.